import TypeNav from '@/components/TypeNav'
import PagiNation from '@/components/Pagination'

// 注册为全局组件
const components = [TypeNav, PagiNation]
const plugin = {
  install(Vue) {
    components.forEach(component => {
      Vue.component(component.name, component)
    })
  }
}

export default plugin
